home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 January (DVD) / PCWorld_2008-01_DVD.iso / v cisle / projectx / ProjectX-compiled.exe / lib / OS2 / build.cmd next >
Encoding:
Text File  |  2006-03-28  |  1.1 KB  |  37 lines

  1. REM *******************************************
  2. REM Build idctssl.dll with OpenWatcom for OS/2
  3. REM
  4. REM Version 1.0
  5. REM RBRi 2006
  6. REM *******************************************
  7. @echo off
  8. setlocal
  9.  
  10. REM !!!! Change this....
  11.  
  12. SET JAVA_HOME=C:\java131
  13. SET WATCOM=D:\progs\watcom
  14.  
  15. REM !!!!!!!!!!!!!!!!!!!!!!!
  16.  
  17. rem setup the environment
  18. SET PATH=%WATCOM%\BINP;%WATCOM%\BINW;%PATH%
  19. SET INCLUDE=%WATCOM%\H;%WATCOM%\H\OS2
  20. SET BEGINLIBPATH=%WATCOM%\BINP\DLL
  21.  
  22. rem create header
  23. %JAVA_HOME%\bin\javah -classpath ..\..\..\src net.sourceforge.dvb.projectx.video.IDCTSseNative
  24.  
  25. rem compile
  26. wcc386 -bd -6s -oh -i%JAVA_HOME%\include;%JAVA_HOME%\include\os2 net_sourceforge_dvb_projectx_video_IDCTSseNative.c
  27. wcc386 -bd -6s -oh -i%JAVA_HOME%\include;%JAVA_HOME%\include\os2 idct_ref.c
  28. wcc386 -bd -6s -oh -i%JAVA_HOME%\include;%JAVA_HOME%\include\os2 idct_cli.c
  29.  
  30. rem link
  31. set files=net_sourceforge_dvb_projectx_video_IDCTSseNative,idct_ref,idct_cli
  32. set exports=Java_net_sourceforge_dvb_projectx_video_IDCTSseNative_referenceIDCT
  33. wlink system os2v2 dll initinstance file %files% name idctsse export %exports%
  34.  
  35. endlocal
  36.  
  37.